<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<link href="dist/css/offcanvas.css" rel="stylesheet">
<link href="dist/css/starter-template.css" rel="stylesheet">
<body>
	<h3>Please fill in following information</h3>
	<hr>
	<table>
		<tr align="left">
			<td align="left" valign="top">
				<div class="sideBar">
					<div class="row row-offcanvas row-offcanvas-right">
						<div class="col-xs-12 col-sm-12 sidebar-offcanvas" id="sidebar">
							<div class="well sidebar-nav"
								style="overflow: auto; height: 400px;">
								<ul class="nav">
									<s:iterator value="#session.allUsersList" var="x">
										<li><a
											href="initEditUserScreen?id=<s:property value="id"/>"
											class="alert-link"> <s:property value="firstname" /> <s:property
													value="lastname" /></a></li>
									</s:iterator>
								</ul>
							</div>
							<!--/.well -->
						</div>
						<!--/span-->
					</div>
					<!--/row-->
				</div>
			</td>
			<td valign="top">
				<div class="editForm">
					<form action="updateUser.action" method="post">
						<table align="left">
							<tr>
								<td><h4>First Name :</h4></td>
								<td><input type="text" class="form-control"
									value="${session.selectedUser.firstname }"
									placeholder="First Name" required="required" autofocus name="firstname"></td>
							</tr>
							<tr>
								<td><h4>Last Name :</h4></td>
								<td><input type="text" class="form-control"
									value="${session.selectedUser.lastname }"
									placeholder="Last Name" required="required" name="lastname"></td>
							</tr>
							<tr>
								<td><h4>Employee ID :</h4></td>
								<td><input type="text" class="form-control"
									value="${session.selectedUser.emp_id }"
									placeholder="Employee ID" required="required" name="emp_id"></td>
							</tr>
							<tr>
								<td><h4>Project :</h4></td>
								<td><input type="text" class="form-control"
									value="${session.selectedUser.project }"
									placeholder="Project" required="required" name="project"></td>
							</tr>
							<tr>
								<td><h4>Password :</h4></td>
								<td><input type="password" class="form-control"
									value="${session.selectedUser.password }"
									placeholder="Password" required="required" name="password"></td>
							</tr>
							<tr>
								<td><h4>Confirm Password :</h4></td>
								<td><input type="password" class="form-control"
									value="${session.selectedUser.password }"
									placeholder="Confirm password" required="required" name="confirmPassword"></td>
							</tr>
							<tr>
								<td></td>
								<td><button class="btn btn-lg btn-primary btn-block"
										type="submit">Update</button></td>
							</tr>
						</table>
					</form>
				</div>

			</td>

		</tr>
	</table>
</body>
